Propagate 'lexical-binding' value to pp buffers
authorAugusto Stoffel <arstoffel@gmail.com>
Sun, 14 Apr 2024 07:36:05 +0000 (09:36 +0200)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 17 Apr 2024 21:02:11 +0000 (17:02 -0400)
commit3cdd86b8affa6d58de8f6d07b4e117676fedd58c
tree40fa0c272e0c633461125bc75ca0c06c0b5571fe
parent0dbd9ed04660152276696e462359204a45ca933d
Propagate 'lexical-binding' value to pp buffers

See bug#70137.

* lisp/emacs-lisp/pp.el (pp-display-expression): Set lexical-binding to
match the value in the calling buffer.
lisp/emacs-lisp/pp.el